<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/4/5
 * Time: 20:57
 */
use NoahBuscher\Macaw\Macaw;

Macaw::get('fuck',function (){
	echo "成功！";
});


Macaw::get('/','App\Demo\Controllers\IndexController@doo');

/**
Macaw::get('(:all)',function ($coo){
	echo '未匹配到路由<br />'.$coo;
});
*/

Macaw::get('(:all)','App\Demo\Controllers\HomeController@home');

Macaw::dispatch();